package top.springcloud.FeignConsumer.fallback;

import org.springframework.stereotype.Component;
import top.springcloud.FeignConsumer.service.HelloService;

@Component
public class HelloServiceImpl implements HelloService {

    @Override
    public String getHello(String name) {
        return "Sorry " +name +"， 服务调用失败！";
    }

    @Override
    public String getCustomerByid(Integer customerId) {
        return "Sorry " +customerId +"， 服务调用失败！";
    }
}
